package designpatterns.facade;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2/14/2022 9:04 PM
 */
public class ShapeMaker {

    private final Shape circle;
    private final Shape rectangle;

    public ShapeMaker() {
        circle = new Circle();
        rectangle = new Rectangle();
    }

    public void drawCircle() {
        circle.draw();
    }

    public void drawRectangle() {
        rectangle.draw();
    }

}
